APPEND.RUN Function

Syntax

Code_Text as C = append.run(C layoutname [,C transaction_table_filter [,L silent [,L show_Xbasic [,* arguments ]]]])

Arguments

layoutnameCharacter

The name of a previously created append operation.

transaction_table_filterCharacter

Default = "". An additional character filter expression for the transaction table that selects records to append.

silentLogical

Default = .F.

.T. = No user interaction.

.F. = User interaction.

show_XbasicLogical

Default = .F.

argumentsPointer

Default = null_value().

Returns

Code_TextCharacter

The Xbasic code that was run performing the operation.

Description

Runs an Append operation

Discussion

The APPEND.RUN() method appends data using a previously defined append operation. The method is not thread safe, which means that it cannot be run on an A5W page.

If the Silent flag is set to .T., then Alpha Anywhere does not display any confirmation dialog boxes before running the operation.

If you specify an optional filter argument, the filter is applied in addition to any filter that may have been defined as Part of the Operation. (You can check to see if a filter is defined as Part of an Operation by editing the saved operation, and selecting the "Select records" menu item.)

Example

The following example runs the Append Customer saved operation and displays a warning dialog box.

append.run("Append Customer", "Lastname  < 'Z'", .f., .f.)

Limitations

Desktop applications only.

See Also